Post

Replies

Boosts

Views

Activity

Reply to "app" is damaged and can't be opened
In 10.13 and below it is working fine. Catalina onwards it has issues. In the Console I am getting the following console messages:  ReceiptRefreshRequest: Error fetching receipt for /Applications/MyAppName.app - Error Domain=com.apple.commerce.client Code=500 "(null)" Failed to perform in-line receipt renewal for application at path/Applications/MyAppName.app : 'Error Domain=com.apple.commerce.client Code=500 "(null)
Nov ’21
Reply to TCC Namespace crash
We could not reproduce it in our system using same system configuration (with fresh OS install as well). Most of these users who had installed had installed beta version of the OS and I am not sure if this is the issue. Also for these users (who are facing crash), my app is not getting listed under Microphone. We asked user to try tccutil reset All and restart the system and re-launch the app. But, still app is not listed under Microphone, nor even permission alert (displayed by OS API to give access to Microphone when we use Audio API) is displayed to these users. It just crashes. What work around can be given to these users? Could you please give suggestion?
Oct ’21
Reply to TCC Namespace crash
We will be providing DMG to the user and user need to drag and drop it to the Applications folder (applications fodler shortcut has been provided in DMG and have guided user to drag and drop it to Applications folder) The application launches a Helper application using the call SMLoginItemSetEnabled. This helper is required to monitor and switch back to user preferred sound output when our application crashes. Also, this helper is not terminated by setting false to SMLoginItemSetEnabled, if user wants to launch our application on system-login. Thank you. Regards, Deepa
Oct ’21
Reply to TCC Namespace crash
This for sure something related to privacy violation, the app has to ask user permission to obtain access to Microphone. But, I have added require Privacy Message in info.plist and enabled entitlement as well. I am not the crash is for which permission that app is trying to access.
Oct ’21
Reply to macOS IPC between two Applications and Security
Yes, NSConnection has been deprecated quite long back and due to some constraints we could not migrate. I would like to know if NSXPCConnection will be the right approach for communication between Main and Helper app. We need to share some data too between Main and Helper app. If NSXPCConnection is the right approach in the following context Can someone write their version of Helper.app with same bundle identifier as my Helper.app and expose a xpc-connection with same service name (when my Main.app and Helper.app is not running). Now when Main.app is launched, it get connected to 3rd party Helper.app.
May ’21
Reply to OSACOMPILE_EXECUTE_ONLY does not make script execute only
I have attached the sample project that I created to learn OSACOMPILEEXECUTEONLY. I have added apple script "ScriptTest.scpt" to the project, OSACOMPILEEXECUTEONLY is set to true. If I compile the project and check the Resources folder of the TestScript.app, there exist ScriptTest.scpt which can be opened and readable in ScriptEditor. Would you please let me know what I am doing wrong here. The sample project is attached to your email … with the subject "OSACOMPILEEXECUTEONLY does not make script execute only"
Feb ’21